package com.hk.housekeeping.order.service.impl;


import com.hk.housekeeping.order.dao.impl.OrderDaoImpl;
import com.hk.housekeeping.order.entity.Order;
import com.hk.housekeeping.order.service.OrderDetailServ;

import java.sql.SQLException;

public class OrderDetailServImpl implements OrderDetailServ {
    private OrderDaoImpl orderDao = new OrderDaoImpl();

    @Override
    public Order getOrderContent(String sid) throws SQLException {
        Order orderContent = orderDao.getOrderContent(sid);
        //数据库操作
        return orderContent;
    }
}
